package com.cmcc.shared.config


object SharedConfig {

    /**
     * 定位更新时间间隔
     */
    const val UPDATE_INTERVAL = 1 * 1000L  /* 10 secs */
    /**
     * 定位最快更新时间间隔
     */
    const val FASTEST_INTERVAL = 1500L /* 1.5 sec */
    const val GOOGLE_API_URL = "https://maps.googleapis.com/maps/api/"

//  const val APP_DOMAIN = "http://netcartest.utools.club"

//        const val APP_DOMAIN = "http://47.244.134.58:8000/"
//          const val APP_DOMAIN = "http://47.52.67.40/"
         // const val APP_DOMAIN = "http://taxi.hk.chinamobile.com/"
//    const val APP_DOMAIN = "http://192.168.31.156:8000/"9*
//    const val APP_DOMAIN = "47.107.159.132:30080"
//    const val APP_DOMAIN = "http://47.57.110.169:8000"

    // const val APP_DOMAIN = "http://taxi.hk.chinamobile.com/"

    const val APP_DOMAIN = "http://119.8.47.188:8000"

    const val PASS_ORDER_RECEIVED = "PASS_ORDER_RECEIVED"
    const val PASS_ORDER_DRIVER_COME = "PASS_ORDER_DRIVER_COME"
    const val PASS_ORDER_COMPLEIE = "PASS_ORDER_COMPLEIE"

    const val PASS_ORDER_REFUSE = "PASS_ORDER_REFUSE"

    const val STATUS_UNKNOW = "STATUS_UNKNOW"

    const val DRIVER_NEW_ORDER = "DRIVER_NEW_ORDER"
    const val DRIVER_BREAK = "DRIVER_BREAK"
    const val REFUSAL_ORDER = "REFUSAL_ORDER"


    const val PREFS_FILE_NAME = "SP_Passenger"

    var isorderDoing = false
    var cardId = ""

    //由于测试服务器到期 ，之前测试地址 http://47.57.110.169:8000/
    // 已不能访问。
    //新的测试服务地址 为http://119.8.47.188:8000/ 所有的测试数据都已迁移到新的测试服务器上。
    // 之前账号可以正常使用。 @微品-iOS-蔡东阳 @微品—安卓—韦实雄
    // 如要连接测试 请用 119.8.47.188:8000 。谢谢。

}
